package com.fqgj.sentry.manage.entity;
import com.fqgj.common.entity.BaseEntity;

/**
* User: ykpbean
* Date: 2017-07-12
* Time: 14:21:02.930
* TableDesc:
*/
public class McPermissionEntity extends BaseEntity{
    /**
    *权限注释（目前可配置模块的读写权限）
    */
    private String permission;
    /**
    *权限描述
    */
    private String description;
    /**
    *菜单id
    */
    private Long menuId;
    /**
    *权限类型（1.操作权限 2.api权限)
    */
    private Integer type;


    public  String getPermission(){
        return this.permission;
    }

    public  McPermissionEntity setPermission(String permission){
        this.permission = permission;
        return this;
    }

    public  String getDescription(){
        return this.description;
    }

    public  McPermissionEntity setDescription(String description){
        this.description = description;
        return this;
    }

    public  Long getMenuId(){
        return this.menuId;
    }

    public  McPermissionEntity setMenuId(Long menuId){
        this.menuId = menuId;
        return this;
    }

    public  Integer getType(){
        return this.type;
    }

    public  McPermissionEntity setType(Integer type){
        this.type = type;
        return this;
    }
}
